<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .content{
            height: 500px;
            width: 500px;
            border: 1px solid black;
        }
        .one{
            background-color: red;
            width: 100%;
            height: 100px;
        }
        .two{
            height: 100%;
            background-color: aqua;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <div class="content">
        <div class="one">1</div>
        <div class="two">2</div>
    </div>
</body>
</html>